application of integrals examples